<html>
<head>
<meta charset="UTF-8">
<title>PS-Phwoar! - 6.72 v1.0 测试版 By Leeful</title>
<link rel="stylesheet prefetch" href="style.css">
<script>
</script>
</head>
<body>
<div id=ScrOverlay class=cacheUPDbg><pre id=cacheUPDtxt class=cacheUPD></pre><div id=CacheProgress><div id=CacheBar></div></div></div>
<input autofocus="autofocus" type="range" id="NOUP" style="opacity:0;display:none;">
<div id=SubTabA class=SubTabTxtAnim></div><div id=SubTabB class=SubTabLineAnim></div>
<div id=Title class=Title>HEN 2.1.3</div>
<div id=Popup onclick="Popup.classList.remove('animation');"><div id="PopIcon"></div><div id="PopTitle"></div></div>
<div id=BottomPopup></div>
<div id=InfoButton><div id=R1BUTTON></div>- 显示功能信息</div>
<div id=cacheInfo></div>

<div id=MenuContainer class=MenuContainer onclick=GetInfo()>
<div id=MainMenu class=MenuPos>
<div  PL-Title="开发者"               PL-Bin="CREDITS"     PL-Ver=""                                                          PL-Desc="开发者 & 感谢." class="Box Icon2">&#xf30f;</div
><div PL-Title="Mira"                  PL-Bin="SUBMENU 1"   PL-Ver=""                                                          PL-Desc="额外的有效载荷" class="Box Icon2">&#xf0fe;</div
><div PL-Title="HEN 2.1.3"             PL-Bin="ExpHEN"      PL-Ver="v2.1.3"                                                    PL-Desc="6.72 漏洞和 HEN.<br>启用自制软件, 启用 Debug 设置, 启用屏蔽升级,<br>启用外置 HDD 支持, PSVR 伪装版本到 v7.51,<br>支持远程 PKG 安装, 7.xx 外置 HDD 支持,<br>完整的休眠模式, 支持调试奖杯, 启用 UART,<br>启用阻止的屏幕截图."  class="Box Icon"><img src="hen.svg"></div
><div PL-Title="HEN 2.1.3b"            PL-Bin="ExpHENb"     PL-Ver="v2.1.3b"                                                   PL-Desc="6.72 漏洞和 HEN.<br>与 HEN 2.1.3 相同，但修复了大多数人的空白奖杯问题.<br><br>! 如果您使用 PSVR, 则必须先运行 PSVR 后再运行该功能."  class="Box Icon"><img src="hen.svg"></div
><div PL-Title="Bin 加载器"            PL-Bin="BINLOADER"   PL-Ver="v1.0 - By OpenOrbis"                                       PL-Desc="在端口 9021 上加载发送到 PS4 IP 地址的 bin 或 elf 文件." class="Box Icon">&#xf019;</div
><div PL-Title="FTP 服务器"            PL-Bin="pl_ftp.js"   PL-Ver="v1.3 - 原始版本 By xVortex / 6.72 移植 By Al Azif" PL-Desc="完整权限访问 PS4 的 FTP 服务器. 将您的 FTP 客户端连接到弹出消息显示的 IP 地址.  FTP 端口号为 1337." class="Box Icon"><img src="ftp.svg"></div
><div PL-Title="Linux 加载器"                 PL-Bin="pl_linux.js" PL-Ver="kernel 5.3.7 - By mircoho"                                 PL-Desc="从 USB 加载 Linux 发行版." class="Box Icon"><img src="linux.svg"></div
><div PL-Title="GTAV 魔改"             PL-Bin="SUBMENU 2"   PL-Ver=""                                                          PL-Desc="GTAV 魔改菜单." class="Box Icon"><img src="gta.svg"></div
><div PL-Title="转储游戏"           PL-Bin="SUBMENU 3"   PL-Ver=""                                                          PL-Desc="将您的游戏或应用程序转储到 USB 驱动器以便能够创建 fpkg 文件." class="Box Icon">&#xf889;</div
><div PL-Title="备份 & 恢复"      PL-Bin="SUBMENU 4"   PL-Ver=""                                                          PL-Desc="一组用于从 PS4 备份或还原转储各种内容的有效载荷.<br><br>您应该对数据库进行定期备份并保存数据以防 fpkg 游戏从数据库中被删除或遭受游戏存档损坏的困扰!" class="Box Icon2">&#xf49c;</div
><div PL-Title="工具"                 PL-Bin="SUBMENU 5"   PL-Ver=""                                                          PL-Desc="PS4 的各种工具." class="Box Icon2">&#xf0ad;</div
></div></div>

<div id=SubMenu1Container class=SubMenuContainer style=display:none onclick=GetInfo()>
<div id=SubMenu1 class=SubMenuPos>
<div  PL-Title="漏洞 & Mira (非官方)" PL-Bin="ExpMira1"    PL-Ver="v1.0 - By Al Azif"   PL-Desc="6.72 漏洞和 Mira.<br> 同时加载 6.72 核心漏洞和 Mira 功能.<br>Mira 包含 HEN.<br>Mira 核心日志服务端口: 9998"  class="Box Icon"><img src="hen.svg"></div
><div PL-Title="漏洞 & Mira (NO HB)"      PL-Bin="ExpMira2"    PL-Ver="v1.0 - By Al Azif"   PL-Desc="6.72 漏洞和 Mira.<br> 同时加载 6.72 核心漏洞和 Mira 功能.<br>Mira 包含 HEN.<br>Mira 核心日志服务端口: 9998"  class="Box Icon"><img src="hen.svg"></div
><div PL-Title="漏洞 & Mira (2020.07.19)" PL-Bin="ExpMira3"    PL-Ver="v1.0 - By OpenOrbis" PL-Desc="6.72 漏洞和 Mira.<br> 同时加载 6.72 核心漏洞和 Mira 功能.<br>合并来自 theorywrong/master 的 #77 错误"  class="Box Icon"><img src="hen.svg"></div
><div PL-Title="漏洞 & Mira (2020.08.01)" PL-Bin="ExpMira4"    PL-Ver="v1.0 - By OpenOrbis" PL-Desc="6.72 漏洞和 Mira.<br> 同时加载 6.72 核心漏洞和 Mira 功能.<br>合并来自 OpenOrbis/git-hash 的 #90 请求"  class="Box Icon"><img src="hen.svg"></div
><div PL-Title="只加载漏洞"           PL-Bin="ExploitOnly" PL-Ver="v1.0"                PL-Desc="只加载 6.72 漏洞. 没有其他有效负载被加载.<br>只需修补内核." class="Box Icon2">&#xf13e;</div
></div></div>

<div id=SubMenu2Container class=SubMenuContainer style=display:none onclick=GetInfo()>
<div id=SubMenu2 class=SubMenuPos>
<div  PL-Title="ArabicGuy GTA V 魔改菜单 v1.00" PL-Bin="pl_GTA_ArabicGuyV100.js"  PL-Ver="v1.0 - 原始版本 By RF0oDxM0Dz / 6.72 移植 By Mustafa0436" PL-Desc="GTA V 魔改菜单<br>*游戏版本 1.00.<br><br>菜单激活: 'L1 + R1'" class="Box Icon">&#xf5e1;</div
><div PL-Title="ArabicGuy GTA V 魔改菜单 v1.27" PL-Bin="pl_GTA_ArabicGuyV127.js"  PL-Ver="v1.0 - 原始版本 By RF0oDxM0Dz / 6.72 移植 By GraFfiX420" PL-Desc="GTA V 魔改菜单<br>*必须安装游戏更新 v1.27.<br><br>菜单激活: '十字键右 + 方块'" class="Box Icon">&#xf5e1;</div
><div PL-Title="ArabicGuy GTA V 魔改菜单 v1.32" PL-Bin="pl_GTA_ArabicGuyV132.js"  PL-Ver="v1.0 - 原始版本 By RF0oDxM0Dz / 6.72 移植 By GraFfiX420" PL-Desc="GTA V 魔改菜单<br>*必须安装游戏更新 v1.32.<br><br>菜单激活: '十字键右 + 方块'" class="Box Icon">&#xf5e1;</div
></div></div>

<div id=SubMenu3Container class=SubMenuContainer style=display:none onclick=GetInfo()>
<div id=SubMenu3 class=SubMenuPos>
<div  PL-Title="转储游戏 & 更新"         PL-Bin="pl_dumper_SPLIT.js"  PL-Ver="v1.8 - 原始版本 By xVortex / MOD By Leeful" PL-Desc="Dump your games or apps to a USB drive to be able to create fpkg files.<br><br>This payload will dump your game and game update (if there is one) into two seperate folders on your USB drive.<br>No config file is needed with this payload!" class="Box Icon">&#xf1b3;</div
><div PL-Title="只转储游戏"             PL-Bin="pl_dumper_APP.js"    PL-Ver="v1.8 - 原始版本 By xVortex / MOD By Leeful" PL-Desc="Dump your games or apps to a USB drive to be able to create fpkg files.<br><br>This payload will dump just your game on your USB drive.<br><br>No config file is needed with this payload!" class="Box Icon">&#xf1b2;</div
><div PL-Title="只转储更新"           PL-Bin="pl_dumper_PATCH.js"  PL-Ver="v1.8 - 原始版本 By xVortex / MOD By Leeful" PL-Desc="Dump your games or apps to a USB drive to be able to create fpkg files.<br><br>This payload will dump just your game update to your USB drive.<br><br>No config file is needed with this payload!" class="Box Icon">&#xf1b2;</div
><div PL-Title="转储 & 合并 游戏 + 更新" PL-Bin="pl_dumper_MERGED.js" PL-Ver="v1.8 - 原始版本 By xVortex / MOD By Leeful" PL-Desc="Dump your games or apps to a USB drive to be able to create fpkg files.<br><br>This payload will dump your game and game update (if there is one) and merge them into one folder on your USB drive.<br>No config file is needed with this payload!" class="Box Icon">&#xf1b3;</div
></div></div>

<div id=SubMenu4Container class=SubMenuContainer style=display:none onclick=GetInfo()>
<div id=SubMenu4 class=SubMenuPos>
<div  PL-Title="备份数据"  PL-Bin="pl_dbBackup.js"  PL-Ver="v1.0 - 原始版本 By Stooged / 6.72 移植 By Al Azif" PL-Desc="Create a backup of important database files.<br><br>A backup of your app databases will be created and saved internally on your PS4 HDD and also to USB if a USB drive is inserted." class="Box Icon">&#xf56e;</div
><div PL-Title="恢复数据" PL-Bin="pl_dbRestore.js" PL-Ver="v1.0 - 原始版本 By Stooged / 6.72 移植 By Al Azif" PL-Desc="Restore a backup of the database files created by 'Database Backup'<br><br>The backup will be restored from either the Internal HDD or from USB if a USB drive is inserted.<br>If a USB drive is inserted, the backup on the USB will be the one used to restore." class="Box Icon">&#xf56f;</div
></div></div>

<div id=SubMenu5Container class=SubMenuContainer style=display:none onclick=GetInfo()>
<div id=SubMenu5 class=SubMenuPos>
<div  PL-Title="Fan 控制"        PL-Bin=""                     PL-Ver="v4.0 - By Leeful"                                           PL-Desc="Set the desired temperature that the PS4 fan starts.<br>You can move the slider by using the D-Pad Up & Down or Left & Right.<br>The value you set will remain until the power is removed from the PS4.<br><br>The default PS4 setting is 79&#176;" class="Box Icon"><img src="FanControl.svg"></div
><div PL-Title="AppToUSB"           PL-Bin="pl_app2usb.js"        PL-Ver="v5.0 - 原始版本 By Stooged / 6.72 移植 By Al Azif"  PL-Desc="Move installed games to an external USB drive.<br>Put AppToUsb.ini in folder named PS4 on root of your USB drive." class="Box Icon">&#xf01c;</div
><div PL-Title="PS4 网页金手指" PL-Bin="pl_WebRTE.js"         PL-Ver="v1.0 - By PS4 Trainer"                                      PL-Desc="Run payload then go to ps4trainer.com/Trainer/index.html<br>on any device to use trainers." class="Box Icon">&#xf108;</div
><div PL-Title="PS4 调试器"           PL-Bin="pl_ps4debug.js"       PL-Ver="v1.2.1 - By GiantPluto"                                     PL-Desc="PS4Debug for SaveMounter and Profile Activator." class="Box Icon">&#xf188;</div
><div PL-Title="转储核心"      PL-Bin="pl_kernelDumper.js"   PL-Ver="v1.0 - 原始版本 By Eversion / 6.72 移植 By Al Azif" PL-Desc="Dump a copy of your kernel to your USB drive.<br><br>Your kernel will be dumped to: KernelDump.bin on your USB drive." class="Box Icon">&#xf828;</div
><div PL-Title="历时拦截器"    PL-Bin="pl_historyBlocker.js" PL-Ver="v2.0 - 原始版本 By Stooged / 6.72 移植 By Al Azif"  PL-Desc="Disable the auto opening of the last page used in the PS4 WebBrowser.<br><br>Run the payload again to disable this feature." class="Box Icon2">&#xf686;</div
><div PL-Title="转为-DEX"             PL-Bin="pl_todex.js"          PL-Ver="v1.0 - By notzecoxao"                                       PL-Desc="Converts your Target ID to 0x82(DEX)<br><br>Useful if you want to play fpkg games with debug trophies installed on them.<br>To remove debug features just reboot your console." class="Box Icon2">&#xf7f9;</div
><div PL-Title="屏蔽升级"    PL-Bin="pl_updatesDisable.js" PL-Ver="v1.0 - By Al Azif" PL-Desc="Creates dummy files in the PS4 update folder to prevent the download of unwanted system updates.<br>It also deletes any existing updates if they already exist.<br><br>! You only ever have to run this once !" class="Box Icon">&#xf771;</div
><div PL-Title="恢复升级"     PL-Bin="pl_updatesEnable.js"  PL-Ver="v1.0 - By Al Azif" PL-Desc="Removes the dummy files in the PS4 update folder to enable the download of updates again.<br><br>Run this if you have previously disabled updates and wish to update your console." class="Box Icon">&#xf772;</div
></div></div>

<div id=navFix1 tabindex="1"></div><div id=navFix2 tabindex="2"></div><div id=navFix3 tabindex="3"></div>
<div id=Loader class=Loader></div>
<div id=InfoBox style=display:none><div id=InfoTitle></div><div id=InfoVerAuth></div><div id=InfoDesc></div></div>
<div id=msgs style=display:none class=txt></div>
<div id=FanTemp class=Info1></div>

<script>
var SS = sessionStorage; var LS = localStorage; var CC = createCookie; var RC = readCookie;

// Handle Cookies
function createCookie(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString();}else expires="";document.cookie=name+"="+value+expires;}
function readCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ') c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0) return c.substring(nameEQ.length,c.length);} return null;}

// Set Initial LS Setting Values
if (LS.CurrentTemp == null){LS.CurrentTemp = 79;}

// SHOW & HIDE Fan Temp Settings
function ShowFanTemp(){FanTemp.style.display='block';FanTemp.innerHTML= 'Current Fan Control Threshold Setting: <font color="yellow">' + LS.CurrentTemp +'&#176;</font>';}
function HideFanTemp(){FanTemp.style.display='none';}

// Declare Some Menu Variables
var MMc =  MainMenu.childElementCount;        // Main Menu Item Count
var MMtotal = MMc;                            // Main Menu Total Item Count For Navigation

var SM1t = 'Mira';                            // Sub Menu 1 Title
var SM1n = 2;                                 // Sub Menu 1 Item Number
var SM1c = SubMenu1.childElementCount;        // Sub Menu 1 Item Count
var SM1total = MMc+SM1c;                      // Sub Menu 1 Total Item Count For Navigation

var SM2t = 'GTAV 魔改';                       // Sub Menu 2 Title
var SM2n = 8;                                 // Sub Menu 2 Item Number
var SM2c = SubMenu2.childElementCount;        // Sub Menu 2 Item Count
var SM2total = MMc+SM1c+SM2c;                 // Sub Menu 2 Total Item Count For Navigation

var SM3t = '转储游戏';                          // Sub Menu 3 Title
var SM3n = 9;                                 // Sub Menu 3 Item Number
var SM3c = SubMenu3.childElementCount;        // Sub Menu 3 Item Count
var SM3total = MMc+SM1c+SM2c+SM3c;            // Sub Menu 3 Total Item Count For Navigation

var SM4t = '备份 & 恢复';                // Sub Menu 4 Title
var SM4n = 10;                                // Sub Menu 4 Item Number
var SM4c = SubMenu4.childElementCount;        // Sub Menu 4 Item Count
var SM4total = MMc+SM1c+SM2c+SM3c+SM4c;       // Sub Menu 4 Total Item Count For Navigation

var SM5t = '工具';                           // Sub Menu 5 Title
var SM5n = 11;                                // Sub Menu 5 Item Number
var SM5c = SubMenu5.childElementCount;        // Sub Menu 5 Item Count
var SM5total = MMc+SM1c+SM2c+SM3c+SM4c+SM5c;  // Sub Menu 5 Total Item Count For Navigation

// Generate SubMenu Children Count
function GenerateSubMenuChildernCount(){
SM1z = parseInt(SS.ItemNum-1-MMc);
SM2z = parseInt(SS.ItemNum-1-MMc-SM1c);
SM3z = parseInt(SS.ItemNum-1-MMc-SM1c-SM2c);
SM4z = parseInt(SS.ItemNum-1-MMc-SM1c-SM2c-SM3c);
SM5z = parseInt(SS.ItemNum-1-MMc-SM1c-SM2c-SM3c-SM4c);
}

// Move To Last Item After Page Refresh
if (sessionStorage.length != 0 && SS.LastPage == null) {
     if (SS.MainMenu == 1){window.MainMenu.children[SS.ItemNum-1].className = "SelectedItem Icon";window.MainMenu.style.left = SS.ItemPos+'px';ChangeText(window.MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));}
else if (SS.SubMenu == 1){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu1ItemNum;FocusSubMenu1();UpdateMenu();}
else if (SS.SubMenu == 2){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu2ItemNum;FocusSubMenu2();UpdateMenu();}
else if (SS.SubMenu == 3){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu3ItemNum;FocusSubMenu3();UpdateMenu();}
else if (SS.SubMenu == 4){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu4ItemNum;FocusSubMenu4();UpdateMenu();}
else if (SS.SubMenu == 5){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu5ItemNum;FocusSubMenu5();UpdateMenu();}
}

// Move To And Reload Last Item After Memory Error
if (sessionStorage.length != 0 && SS.LastPage != null) {
InfoBox.style.display='block'; Title.style.display='none';IBT = ChangeInfoBoxTitle;IBV = ChangeInfoBoxVer;IBD = ChangeInfoBoxDesc;
     if (SS.MainMenu == 1){MainMenu.children[SS.ItemNum-1].opacity="1";MainMenu.children[SS.ItemNum-1].className = "SelectedItem Icon";MainMenu.style.left = SS.ItemPos+'px';IBT(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));IBV(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Ver'));IBD(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 1){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu1ItemNum;FocusSubMenu1();UpdateMenu();SubMenu1.children[SM1z].opacity="1";SubMenu1.children[SM1z].className = "SelectedItem Icon";SubTabA.style.display='none';SubTabB.style.display='none';IBT(SubMenu1.children[SM1z].getAttribute('PL-Title'));IBV(SubMenu1.children[SM1z].getAttribute('PL-Ver'));IBD(SubMenu1.children[SM1z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 2){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu2ItemNum;FocusSubMenu2();UpdateMenu();SubMenu2.children[SM2z].opacity="1";SubMenu2.children[SM2z].className = "SelectedItem Icon";SubTabA.style.display='none';SubTabB.style.display='none';IBT(SubMenu2.children[SM2z].getAttribute('PL-Title'));IBV(SubMenu2.children[SM2z].getAttribute('PL-Ver'));IBD(SubMenu2.children[SM2z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 3){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu3ItemNum;FocusSubMenu3();UpdateMenu();SubMenu3.children[SM3z].opacity="1";SubMenu3.children[SM3z].className = "SelectedItem Icon";SubTabA.style.display='none';SubTabB.style.display='none';IBT(SubMenu3.children[SM3z].getAttribute('PL-Title'));IBV(SubMenu3.children[SM3z].getAttribute('PL-Ver'));IBD(SubMenu3.children[SM3z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 4){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu4ItemNum;FocusSubMenu4();UpdateMenu();SubMenu4.children[SM4z].opacity="1";SubMenu4.children[SM4z].className = "SelectedItem Icon";SubTabA.style.display='none';SubTabB.style.display='none';IBT(SubMenu4.children[SM4z].getAttribute('PL-Title'));IBV(SubMenu4.children[SM4z].getAttribute('PL-Ver'));IBD(SubMenu4.children[SM4z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 5){SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu5ItemNum;FocusSubMenu5();UpdateMenu();SubMenu5.children[SM5z].opacity="1";SubMenu5.children[SM5z].className = "SelectedItem Icon";SubTabA.style.display='none';SubTabB.style.display='none';IBT(SubMenu5.children[SM5z].getAttribute('PL-Title'));IBV(SubMenu5.children[SM5z].getAttribute('PL-Ver'));IBD(SubMenu5.children[SM5z].getAttribute('PL-Desc'));}
var x = document.querySelectorAll(".box"); var i; for(i = 0; i < x.length; i++){x[i].style.opacity="0";}
window.Loader.innerHTML='<object type="text/html" data="'+SS.LastPage+'" style="width:265px; height:56px;"></object>';
}

// Set Initial sessionStorage Values
if (sessionStorage.length == 0) {
SS.MainMenu = 1;  // Main Menu Initially ON
SS.SubMenu = 0;   // Sub Menus Initially OFF
SS.ItemNum = 3;   // Starting Item Number
SS.ItemPos = -65; // Starting X Position
SS.SubMenu1ItemPos = 325; 
SS.SubMenu2ItemPos = 325; 
SS.SubMenu3ItemPos = 325;
SS.SubMenu4ItemPos = 325;
SS.SubMenu5ItemPos = 325;
SS.LastSubMenu1ItemNum = MMc+1;
SS.LastSubMenu2ItemNum = MMc+SM1c+1;
SS.LastSubMenu3ItemNum = MMc+SM1c+SM2c+1;
SS.LastSubMenu4ItemNum = MMc+SM1c+SM2c+SM3c+1;
SS.LastSubMenu5ItemNum = MMc+SM1c+SM2c+SM3c+SM4c+1;
window.MainMenu.children[SS.ItemNum-1].className = "SelectedItem Icon";
}

//UpdateMenu function Begins!!!!/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function UpdateMenu(){
GenerateSubMenuChildernCount();
if (SS.NoUpURL == null){NOUP.style.display='block';SS.NoUpURL='1';}

// Display Sub Menu
SubMenu1Container.style.display = 'none';
SubMenu2Container.style.display = 'none';
SubMenu3Container.style.display = 'none';
SubMenu4Container.style.display = 'none';
SubMenu5Container.style.display = 'none';
     if (SS.ItemNum == SM1n || SS.SubMenu == 1){SubMenu1Container.style.display = 'block';}
else if (SS.ItemNum == SM2n || SS.SubMenu == 2){SubMenu2Container.style.display = 'block';}
else if (SS.ItemNum == SM3n || SS.SubMenu == 3){SubMenu3Container.style.display = 'block';}
else if (SS.ItemNum == SM4n || SS.SubMenu == 4){SubMenu4Container.style.display = 'block';}
else if (SS.ItemNum == SM5n || SS.SubMenu == 5){SubMenu5Container.style.display = 'block';}

// Update selected Item To Big Selected Item Size
setTimeout(function(){
if (SS.MainMenu == 1){
   if (MainMenu.children[SS.ItemNum-1].getAttribute('PL-Bin').includes('SUBMENU')){MainMenu.children[SS.ItemNum-1].className = "SelectedItem Icon2";}
 else {MainMenu.children[SS.ItemNum-1].className = "SelectedItem Icon";}
}
else if (SS.SubMenu == 1){SubMenu1.children[SM1z].className = "SelectedItem Icon";}
else if (SS.SubMenu == 2){SubMenu2.children[SM2z].className = "SelectedItem Icon";}
else if (SS.SubMenu == 3){SubMenu3.children[SM3z].className = "SelectedItem Icon";}
else if (SS.SubMenu == 4){SubMenu4.children[SM4z].className = "SelectedItem Icon";}
else if (SS.SubMenu == 5){SubMenu5.children[SM5z].className = "SelectedItem Icon";}
},0);

// Update Position of Menu
     if (SS.MainMenu == 1){MainMenu.children[SS.ItemNum-1].className = "SelectedItemAnim Icon";MainMenu.style.left = SS.ItemPos+'px';SS.LastMenuItemPos = SS.ItemPos;SS.LastMenuItemNum = SS.ItemNum;}
else if (SS.SubMenu == 1){SubMenu1.style.left = SS.SubMenu1ItemPos+'px';SS.LastSubMenu1ItemPos = SS.SubMenu1ItemPos;SS.LastSubMenu1ItemNum = SS.ItemNum;SubMenu1.children[SM1z].className = "SelectedItemAnim Icon";}
else if (SS.SubMenu == 2){SubMenu2.style.left = SS.SubMenu2ItemPos+'px';SS.LastSubMenu2ItemPos = SS.SubMenu2ItemPos;SS.LastSubMenu2ItemNum = SS.ItemNum;SubMenu2.children[SM2z].className = "SelectedItemAnim Icon";}
else if (SS.SubMenu == 3){SubMenu3.style.left = SS.SubMenu3ItemPos+'px';SS.LastSubMenu3ItemPos = SS.SubMenu3ItemPos;SS.LastSubMenu3ItemNum = SS.ItemNum;SubMenu3.children[SM3z].className = "SelectedItemAnim Icon";}
else if (SS.SubMenu == 4){SubMenu4.style.left = SS.SubMenu4ItemPos+'px';SS.LastSubMenu4ItemPos = SS.SubMenu4ItemPos;SS.LastSubMenu4ItemNum = SS.ItemNum;SubMenu4.children[SM4z].className = "SelectedItemAnim Icon";}
else if (SS.SubMenu == 5){SubMenu5.style.left = SS.SubMenu5ItemPos+'px';SS.LastSubMenu5ItemPos = SS.SubMenu5ItemPos;SS.LastSubMenu5ItemNum = SS.ItemNum;SubMenu5.children[SM5z].className = "SelectedItemAnim Icon";}

// Update Item Title
UpdateTitle();

// Return Selected Item Back To Normal Size on Un-Select
     if (SS.MainMenu == 1){var x = MainMenu.childElementCount;for (i=0; i<x; i++){MainMenu.children[i].className = "Box Icon";}}
else if (SS.SubMenu == 1){var x = SubMenu1.childElementCount;for (i=0; i<x; i++){SubMenu1.children[i].className = "Box Icon";}}
else if (SS.SubMenu == 2){var x = SubMenu2.childElementCount;for (i=0; i<x; i++){SubMenu2.children[i].className = "Box Icon";}}
else if (SS.SubMenu == 3){var x = SubMenu3.childElementCount;for (i=0; i<x; i++){SubMenu3.children[i].className = "Box Icon";}}
else if (SS.SubMenu == 4){var x = SubMenu4.childElementCount;for (i=0; i<x; i++){SubMenu4.children[i].className = "Box Icon";}}
else if (SS.SubMenu == 5){var x = SubMenu5.childElementCount;for (i=0; i<x; i++){SubMenu5.children[i].className = "Box Icon";}}

}//UpdateMenu function Ends!!!!//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Update Item Title Function
function UpdateTitle(){
Title.className = "TitleAnim";
setTimeout(function(){
     if (SS.MainMenu == 1){ChangeText(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  1){ChangeText(SubMenu1.children[SM1z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  2){ChangeText(SubMenu2.children[SM2z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  3){ChangeText(SubMenu3.children[SM3z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  4){ChangeText(SubMenu4.children[SM4z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  5){ChangeText(SubMenu5.children[SM5z].getAttribute('PL-Title'));}
},100);
setTimeout(function(){Title.className = "Title";},100);
}

// Focus SubMenu's Functions
function FocusSubMenu1(){MenuContainer.className = "HideMenuContainer";SubMenu1Container.className = "MoveSubMenuContainer";SubMenu1.style.left = SS.LastSubMenu1ItemPos;SubTabA.className = "SubTabTxt";SubTabB.className = "SubTabLine";SubTabA.innerHTML = SM1t;}
function FocusSubMenu2(){MenuContainer.className = "HideMenuContainer";SubMenu2Container.className = "MoveSubMenuContainer";SubMenu2.style.left = SS.LastSubMenu2ItemPos;SubTabA.className = "SubTabTxt";SubTabB.className = "SubTabLine";SubTabA.innerHTML = SM2t;}
function FocusSubMenu3(){MenuContainer.className = "HideMenuContainer";SubMenu3Container.className = "MoveSubMenuContainer";SubMenu3.style.left = SS.LastSubMenu3ItemPos;SubTabA.className = "SubTabTxt";SubTabB.className = "SubTabLine";SubTabA.innerHTML = SM3t;}
function FocusSubMenu4(){MenuContainer.className = "HideMenuContainer";SubMenu4Container.className = "MoveSubMenuContainer";SubMenu4.style.left = SS.LastSubMenu4ItemPos;SubTabA.className = "SubTabTxt";SubTabB.className = "SubTabLine";SubTabA.innerHTML = SM4t;}
function FocusSubMenu5(){MenuContainer.className = "HideMenuContainer";SubMenu5Container.className = "MoveSubMenuContainer";SubMenu5.style.left = SS.LastSubMenu5ItemPos;SubTabA.className = "SubTabTxt";SubTabB.className = "SubTabLine";SubTabA.innerHTML = SM5t;}

// Update SubMenu selected Item On Focus
function UpdateSubMenu(){
setTimeout(function(){
GenerateSubMenuChildernCount();
     if (SS.SubMenu == 1){SubMenu1.children[SM1z].className = "SelectedItem2 Icon";}
else if (SS.SubMenu == 2){SubMenu2.children[SM2z].className = "SelectedItem2 Icon";}
else if (SS.SubMenu == 3){SubMenu3.children[SM3z].className = "SelectedItem2 Icon";}
else if (SS.SubMenu == 4){SubMenu4.children[SM4z].className = "SelectedItem2 Icon";}
else if (SS.SubMenu == 5){SubMenu5.children[SM5z].className = "SelectedItem2 Icon";}
UpdateTitle();
},0);
}

// UN-Focus ANY SubMenu Function
function UNFocusSubMenu(){
     if (SS.SubMenu == 1){SubMenu1.children[SM1z].className = "Box2 Icon";SubMenu1Container.className = "SubMenuContainer";SS.ItemNum = SM1n;}
else if (SS.SubMenu == 2){SubMenu2.children[SM2z].className = "Box2 Icon";SubMenu2Container.className = "SubMenuContainer";SS.ItemNum = SM2n;}
else if (SS.SubMenu == 3){SubMenu3.children[SM3z].className = "Box2 Icon";SubMenu3Container.className = "SubMenuContainer";SS.ItemNum = SM3n;}
else if (SS.SubMenu == 4){SubMenu4.children[SM4z].className = "Box2 Icon";SubMenu4Container.className = "SubMenuContainer";SS.ItemNum = SM4n;}
else if (SS.SubMenu == 5){SubMenu5.children[SM5z].className = "Box2 Icon";SubMenu5Container.className = "SubMenuContainer";SS.ItemNum = SM5n;}

MenuContainer.className = "MenuContainer2";
SubTabA.className = "SubTabTxtAnim";SubTabB.className = "SubTabLineAnim";
SS.SubMenu = 0;
     if (SS.MainMenu == 1){ChangeText(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  1){ChangeText(SubMenu1.children[SM1z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  2){ChangeText(SubMenu2.children[SM2z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  3){ChangeText(SubMenu3.children[SM3z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  4){ChangeText(SubMenu4.children[SM4z].getAttribute('PL-Title'));}
else if (SS.SubMenu ==  5){ChangeText(SubMenu5.children[SM5z].getAttribute('PL-Title'));}
}

// Load A Payload.bin Function
function LoadPayload(){
window.msgs.style='display:block;';

	 if (SS.Payload=='ExploitOnly'){
window.msgs.innerHTML="正在加载 6.72 Exploit<br>请稍候 ...";
LoadedMSG="6.72 Exploit<br>加载成功";
setTimeout(jailbreak,1000);
}
else if (SS.Payload=='ExpHEN'){
window.msgs.innerHTML="正在加载 Exploit<br>请稍候 ...";
LoadedMSG="Exploit and HEN<br>加载成功";ExploitMira="yes";MiraSRC="pl_HEN.js";PlName="HEN";LoaderVer="exp_loaderHEN.js";
setTimeout(jailbreak,1000);
}
else if (SS.Payload=='ExpHENb'){
window.msgs.innerHTML="正在加载 Exploit<br>请稍候 ...";
LoadedMSG="Exploit and HEN<br>加载成功";ExploitMira="yes";MiraSRC="pl_HENb.js";PlName="HEN";LoaderVer="exp_loaderHEN.js";
setTimeout(jailbreak,1000);
}
else if (SS.Payload=='ExpMira1'){
window.msgs.innerHTML="正在加载 Exploit<br>请稍候 ...";
LoadedMSG="Exploit and Mira<br>加载成功";ExploitMira="yes";MiraSRC="pl_miraUNOF.js";PlName="Mira";LoaderVer="exp_loaderMira.js";
setTimeout(jailbreak,1000);
}
else if (SS.Payload=='ExpMira2'){
window.msgs.innerHTML="正在加载 Exploit<br>请稍候 ...";
LoadedMSG="Exploit and Mira<br>加载成功";ExploitMira="yes";MiraSRC="pl_miraNOHB.js";PlName="Mira";LoaderVer="exp_loaderMira.js";
setTimeout(jailbreak,1000);
}
else if (SS.Payload=='ExpMira3'){
window.msgs.innerHTML="正在加载 Exploit<br>请稍候 ...";
LoadedMSG="Exploit and Mira<br>加载成功";ExploitMira="yes";MiraSRC="pl_miraOFF1.js";PlName="Mira";LoaderVer="exp_loaderMira.js";
setTimeout(jailbreak,1000);
}
else if (SS.Payload=='ExpMira4'){
window.msgs.innerHTML="正在加载 Exploit<br>请稍候 ...";
LoadedMSG="Exploit and Mira<br>加载成功";ExploitMira="yes";MiraSRC="pl_miraOFF2.js";PlName="Mira";LoaderVer="exp_loaderMira.js";
setTimeout(jailbreak,1000);
}
else if (SS.Payload=='BINLOADER'){
window.msgs.innerHTML="正在加载 Bin Loader<br>请稍候 ...";
LoadedMSG="Send Payload To<br>Port 9021";
var script = document.createElement('script');script.src = "exp_loaderBinLdr.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_ftp.js'){
window.msgs.innerHTML="正在加载 FTP Server<br>请稍候 ...";
LoadedMSG="FTP Server<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_dumper_SPLIT.js'){
window.msgs.innerHTML="正在加载 Dumper for<br>Game & Update...";
LoadedMSG="Dumper<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_dumper_APP.js'){
window.msgs.innerHTML="正在加载 Dumper for<br>Game Only...";
LoadedMSG="Dumper<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_dumper_PATCH.js'){
window.msgs.innerHTML="正在加载 Dumper for<br>Update Only...";
LoadedMSG="Dumper<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_dumper_MERGED.js'){
window.msgs.innerHTML="正在加载 Dumper for<br>Merged Folder...";
LoadedMSG="Dumper<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_dbBackup.js'){
window.msgs.innerHTML="正在加载 DB Backup<br>请稍候 ...";
LoadedMSG="DB Backup<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_dbRestore.js'){
window.msgs.innerHTML="正在加载 DB Restore<br>请稍候 ...";
LoadedMSG="DB Restore<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_app2usb.js'){
window.msgs.innerHTML="正在加载 AppToUSB<br>请稍候 ...";
LoadedMSG="AppToUSB<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_WebRTE.js'){
window.msgs.innerHTML="正在加载 WebRTE<br>请稍候 ...";
LoadedMSG="WebRTE<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_ps4debug.js'){
window.msgs.innerHTML="正在加载 PS4Debug<br>请稍候 ...";
LoadedMSG="PS4Debug<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_kernelDumper.js'){
window.msgs.innerHTML="正在加载<br>Kernel Dumper...";
LoadedMSG="Kernel Dumper<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_historyBlocker.js'){
window.msgs.innerHTML="正在加载<br>History Blocker...";
LoadedMSG="History Blocker<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_todex.js'){
window.msgs.innerHTML="正在加载 To-DEX<br>请稍候 ...";
LoadedMSG="To-DEX<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_updatesDisable.js'){
window.msgs.innerHTML="正在加载<br>Disable Updates...";
LoadedMSG="Disable Updates<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_updatesEnable.js'){
window.msgs.innerHTML="正在加载<br>Enable Updates...";
LoadedMSG="Enable Updates<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_GTA_ArabicGuyV100.js'){
window.msgs.innerHTML="正在加载<br>GTA MOD Menu...";
LoadedMSG="GTAV MOD Menu<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_GTA_ArabicGuyV127.js'){
window.msgs.innerHTML="正在加载<br>GTA MOD Menu...";
LoadedMSG="GTAV MOD Menu<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}
else if (SS.Payload=='pl_GTA_ArabicGuyV132.js'){
window.msgs.innerHTML="正在加载<br>GTA MOD Menu...";
LoadedMSG="GTAV MOD Menu<br>加载成功";
var script = document.createElement('script');script.src = ""+SS.Payload;document.body.appendChild(script);
var script = document.createElement('script');script.src = "exp_loaderPL.js";document.body.appendChild(script);
}

else if (Title.innerHTML == '开发者'){SS.ThisIsCredits='1';SS.LastPage = 'Credits.html';ScrOverlay.style.opacity="1";ScrOverlay.style.display = "block";ScrOverlay.innerHTML='<object type="text/html" data="./Credits.html" style="width:100%; height:100%;"></object>';}
}

//Load Selected Exploit Page Function
function loadPage(){

     // Special cases with extra variables!!
	 if(Title.innerHTML == 'Fan 控制'){SS.ThisIsFanControl='1';SS.LastPage = 'FanControlLoader.html';
	 Loader.innerHTML='<object type="text/html" data="FanControlLoader.html" style="width:265px; height:56px;"></object>';
	 var script = document.createElement('script');script.src = "pl_fanthresh.js";document.body.appendChild(script);}

     // SubMenu Header Item
else if (SS.MainMenu == 1 && MainMenu.children[SS.ItemNum-1].getAttribute('PL-Bin').includes('SUBMENU')){}

     // Regular Main Menu Items
else if (SS.MainMenu == 1){SS.Payload = MainMenu.children[SS.ItemNum-1].getAttribute('PL-Bin'); LoadPayload();}

     // Sub Menu Items	 
else if (SS.SubMenu == 1){SS.Payload = SubMenu1.children[SM1z].getAttribute('PL-Bin'); LoadPayload();}
else if (SS.SubMenu == 2){SS.Payload = SubMenu2.children[SM2z].getAttribute('PL-Bin'); LoadPayload();}
else if (SS.SubMenu == 3){SS.Payload = SubMenu3.children[SM3z].getAttribute('PL-Bin'); LoadPayload();}
else if (SS.SubMenu == 4){SS.Payload = SubMenu4.children[SM4z].getAttribute('PL-Bin'); LoadPayload();}
else if (SS.SubMenu == 5){SS.Payload = SubMenu5.children[SM5z].getAttribute('PL-Bin'); LoadPayload();}
}

//Load Selected Exploit Page Function For Special Page Payloads
function loadPage2(){
if (SS.ThisIsFanControl == '2'){
window.msgs.style='display:block;';window.setTEMP();window.msgs.innerHTML="Setting Temp<br>Threshold...";LoadedMSG="Temp Threshold<br>Set Successfully";							   
var script = document.createElement('script');script.src = "pl_fanthresh2.js";document.body.appendChild(script);
}
}

// Change Title Text Function
function ChangeText(text){Title.innerHTML = text;}

// Change InfoBox Text Function
function ChangeInfoBoxTitle(text){InfoTitle.innerHTML = text;}
function ChangeInfoBoxVer(text){InfoVerAuth.innerHTML = text;}
function ChangeInfoBoxDesc(text){InfoDesc.innerHTML = text;}
IBT = ChangeInfoBoxTitle;IBV = ChangeInfoBoxVer;IBD = ChangeInfoBoxDesc;

// PopUp Function
function pop(){Popup.classList.remove('animation'); void Popup.offsetWidth;Popup.classList.add('animation');}

// BottomPopup Function
function BottomPop(){BottomPopup.classList.add('animation');}


// SHOW INFO AND LOAD PAYLOAD function
function GetInfo(){
     if (SS.MainMenu == 1 && MainMenu.children[SS.ItemNum-1].getAttribute('PL-Bin').includes('SUBMENU')){}//Do nothing if a SubMenu
else if(SS.Loaded==null){
SS.InfoBox=1;
var x = document.querySelectorAll(".box"); var i; for(i = 0; i < x.length; i++){x[i].style.opacity="0";}InfoBox.style.display='block'; Title.style.display='none';
     if (SS.MainMenu == 1 && MainMenu.children[SS.ItemNum-1].getAttribute('PL-Bin').includes('SUBMENU')){IBT(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));IBV(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Ver'));IBD(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Desc'));}
else if (SS.MainMenu == 1){IBT(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));IBV(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Ver'));IBD(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 1){SubTabA.style.display='none'; SubTabB.style.display='none';IBT(SubMenu1.children[SM1z].getAttribute('PL-Title'));IBV(SubMenu1.children[SM1z].getAttribute('PL-Ver'));IBD(SubMenu1.children[SM1z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 2){SubTabA.style.display='none'; SubTabB.style.display='none';IBT(SubMenu2.children[SM2z].getAttribute('PL-Title'));IBV(SubMenu2.children[SM2z].getAttribute('PL-Ver'));IBD(SubMenu2.children[SM2z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 3){SubTabA.style.display='none'; SubTabB.style.display='none';IBT(SubMenu3.children[SM3z].getAttribute('PL-Title'));IBV(SubMenu3.children[SM3z].getAttribute('PL-Ver'));IBD(SubMenu3.children[SM3z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 4){SubTabA.style.display='none'; SubTabB.style.display='none';IBT(SubMenu4.children[SM4z].getAttribute('PL-Title'));IBV(SubMenu4.children[SM4z].getAttribute('PL-Ver'));IBD(SubMenu4.children[SM4z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 5){SubTabA.style.display='none'; SubTabB.style.display='none';IBT(SubMenu5.children[SM5z].getAttribute('PL-Title'));IBV(SubMenu5.children[SM5z].getAttribute('PL-Ver'));IBD(SubMenu5.children[SM5z].getAttribute('PL-Desc'));}
loadPage();}
else{loadPage2();}
}

// R1 SHOW INFO function
function ShowInfo(){
SS.InfoBox=1;
if (Title.innerHTML == 'Fan 控制'){ShowFanTemp();}
var x = document.querySelectorAll(".box"); var i; for(i = 0; i < x.length; i++){x[i].style.opacity="0";}InfoBox.style.display='block'; Title.style.display='none';
     if (SS.MainMenu == 1 && MainMenu.children[SS.ItemNum-1].getAttribute('PL-Bin').includes('SUBMENU')){MainMenu.children[SS.ItemNum-1].className = "InfoIcon icon2";IBT(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));IBV(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Ver'));IBD(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Desc'));}
else if (SS.MainMenu == 1){MainMenu.children[SS.ItemNum-1].className = "InfoIcon icon";IBT(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Title'));IBV(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Ver'));IBD(MainMenu.children[SS.ItemNum-1].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 1){SubTabA.style.display='none'; SubTabB.style.display='none';SubMenu1.children[SM1z].className = "InfoIcon icon";IBT(SubMenu1.children[SM1z].getAttribute('PL-Title'));IBV(SubMenu1.children[SM1z].getAttribute('PL-Ver'));IBD(SubMenu1.children[SM1z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 2){SubTabA.style.display='none'; SubTabB.style.display='none';SubMenu2.children[SM2z].className = "InfoIcon icon";IBT(SubMenu2.children[SM2z].getAttribute('PL-Title'));IBV(SubMenu2.children[SM2z].getAttribute('PL-Ver'));IBD(SubMenu2.children[SM2z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 3){SubTabA.style.display='none'; SubTabB.style.display='none';SubMenu3.children[SM3z].className = "InfoIcon icon";IBT(SubMenu3.children[SM3z].getAttribute('PL-Title'));IBV(SubMenu3.children[SM3z].getAttribute('PL-Ver'));IBD(SubMenu3.children[SM3z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 4){SubTabA.style.display='none'; SubTabB.style.display='none';SubMenu4.children[SM4z].className = "InfoIcon icon";IBT(SubMenu4.children[SM4z].getAttribute('PL-Title'));IBV(SubMenu4.children[SM4z].getAttribute('PL-Ver'));IBD(SubMenu4.children[SM4z].getAttribute('PL-Desc'));}
else if (SS.SubMenu == 5){SubTabA.style.display='none'; SubTabB.style.display='none';SubMenu5.children[SM5z].className = "InfoIcon icon";IBT(SubMenu5.children[SM5z].getAttribute('PL-Title'));IBV(SubMenu5.children[SM5z].getAttribute('PL-Ver'));IBD(SubMenu5.children[SM5z].getAttribute('PL-Desc'));}
}

// R1 HIDE INFO function
function HideInfo(){
SS.InfoBox=0;
if (Title.innerHTML == 'Fan 控制'){HideFanTemp();}
var x = document.querySelectorAll(".box"); var i; for (i = 0; i < x.length; i++){x[i].style.opacity="1";}InfoBox.style.display='none';Title.style.display='block';
     if (SS.MainMenu == 1 && MainMenu.children[SS.ItemNum-1].getAttribute('PL-Bin').includes('SUBMENU')){MainMenu.children[SS.ItemNum-1].className = "SelectedItem icon2";}
else if (SS.MainMenu == 1){MainMenu.children[SS.ItemNum-1].className = "SelectedItem icon";}
else if (SS.SubMenu == 1){SubMenu1.children[SM1z].className = "SelectedItem icon";SubTabA.style.display='block';SubTabB.style.display='block';}
else if (SS.SubMenu == 2){SubMenu2.children[SM2z].className = "SelectedItem icon";SubTabA.style.display='block';SubTabB.style.display='block';}
else if (SS.SubMenu == 3){SubMenu3.children[SM3z].className = "SelectedItem icon";SubTabA.style.display='block';SubTabB.style.display='block';}
else if (SS.SubMenu == 4){SubMenu4.children[SM4z].className = "SelectedItem icon";SubTabA.style.display='block';SubTabB.style.display='block';}
else if (SS.SubMenu == 5){SubMenu5.children[SM5z].className = "SelectedItem icon";SubTabA.style.display='block';SubTabB.style.display='block';}
}

// HIDE Loader Box
function HideLoaderBox(){
SS.Loaded = '1'; setTimeout(function(){var x=document.querySelectorAll(".SelectedItem");var i;for(i=0;i < x.length;i++){x[i].className="InfoIcon Icon";}},1500);
}

// Detect Directional Button Presses Function
window.onkeyup = checkKeyUp;
function checkKeyUp(e){
e=e || window.event;
     if (e.keyCode=='117' && SS.Loaded==null) {HideInfo();} // **R1 BUTTON RELEASE**
}

window.onkeydown = checkKeyDown;
function checkKeyDown(e){
e=e || window.event;
var MoveMenu = 164;
     if (e.keyCode=='27' && SS.ThisIsCredits == 1) {SS.InfoBox=0;SS.removeItem('LastPage');SS.ThisIsCredits=0;window.location.reload();}
else if (e.keyCode=='117' && SS.Loaded==null) {ShowInfo();} // **R1 BUTTON PRESS**
else if (SS.ThisIsFanControl != null || SS.ThisIsFwSpoofer != null || SS.ThisIsReactMOD != null){} // Disable Menu Movement
else if (e.keyCode=='38' && SS.InfoBox!=1 && SS.MainMenu == 0) {SS.MainMenu = 1; UNFocusSubMenu();} // All Sub Menus **UP BUTTON**

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

else if (e.keyCode=='37' && SS.InfoBox!=1 && SS.MainMenu == 1 && SS.ItemNum-1 >= 1 && SS.ItemNum <= MMtotal){
SS.ItemPos=parseInt(SS.ItemPos)+MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)-1;UpdateMenu();}                 // Main Menu **LEFT BUTTON**

else if (e.keyCode=='39' && SS.InfoBox!=1 && SS.MainMenu == 1 && SS.ItemNum-1 >= 0 && SS.ItemNum < MMtotal){
SS.ItemPos=parseInt(SS.ItemPos)-MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)+1;UpdateMenu();}                 // Main Menu **RIGHT BUTTON**

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

else if (e.keyCode=='40' && SS.InfoBox!=1 && SS.ItemNum == SM1n) {
SS.SubMenu = 1;SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu1ItemNum;FocusSubMenu1();UpdateSubMenu();}      // Sub Menu 1 **DOWN BUTTON**

else if (e.keyCode=='37' && SS.InfoBox!=1 && SS.SubMenu == 1 && SS.ItemNum-1 > MMtotal && SS.ItemNum <= SM1total){
SS.SubMenu1ItemPos=parseInt(SS.SubMenu1ItemPos)+MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)-1;UpdateMenu();} // Sub Menu 1 **LEFT BUTTON**

else if (e.keyCode=='39' && SS.InfoBox!=1 && SS.SubMenu == 1 && SS.ItemNum-1 >= MMtotal && SS.ItemNum < SM1total){
SS.SubMenu1ItemPos=parseInt(SS.SubMenu1ItemPos)-MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)+1;UpdateMenu();} // Sub Menu 1 **RIGHT BUTTON**

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

else if (e.keyCode=='40' && SS.InfoBox!=1 && SS.ItemNum == SM2n) {
SS.SubMenu = 2;SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu2ItemNum;FocusSubMenu2();UpdateSubMenu();}      // Sub Menu 2 **DOWN BUTTON**

else if (e.keyCode=='37' && SS.InfoBox!=1 && SS.SubMenu == 2 && SS.ItemNum-1 > SM1total && SS.ItemNum <= SM2total){
SS.SubMenu2ItemPos=parseInt(SS.SubMenu2ItemPos)+MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)-1;UpdateMenu();} // Sub Menu 2 **LEFT BUTTON**

else if (e.keyCode=='39' && SS.InfoBox!=1 && SS.SubMenu == 2 && SS.ItemNum-1 >= SM1total && SS.ItemNum < SM2total){
SS.SubMenu2ItemPos=parseInt(SS.SubMenu2ItemPos)-MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)+1;UpdateMenu();} // Sub Menu 2 **RIGHT BUTTON**

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

else if (e.keyCode=='40' && SS.InfoBox!=1 && SS.ItemNum == SM3n) {
SS.SubMenu = 3;SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu3ItemNum;FocusSubMenu3();UpdateSubMenu();}      // Sub Menu 3 **DOWN BUTTON**

else if (e.keyCode=='37' && SS.InfoBox!=1 && SS.SubMenu == 3 && SS.ItemNum-1 > SM2total && SS.ItemNum <= SM3total){
SS.SubMenu3ItemPos=parseInt(SS.SubMenu3ItemPos)+MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)-1;UpdateMenu();} // Sub Menu 3 **LEFT BUTTON**

else if (e.keyCode=='39' && SS.InfoBox!=1 && SS.SubMenu == 3 && SS.ItemNum-1 >= SM2total && SS.ItemNum < SM3total){
SS.SubMenu3ItemPos=parseInt(SS.SubMenu3ItemPos)-MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)+1;UpdateMenu();} // Sub Menu 3 **RIGHT BUTTON**

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

else if (e.keyCode=='40' && SS.InfoBox!=1 && SS.ItemNum == SM4n) {
SS.SubMenu = 4;SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu4ItemNum;FocusSubMenu4();UpdateSubMenu();}      // Sub Menu 4 **DOWN BUTTON**

else if (e.keyCode=='37' && SS.InfoBox!=1 && SS.SubMenu == 4 && SS.ItemNum-1 > SM3total && SS.ItemNum <= SM4total){
SS.SubMenu4ItemPos=parseInt(SS.SubMenu4ItemPos)+MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)-1;UpdateMenu();} // Sub Menu 4 **LEFT BUTTON**

else if (e.keyCode=='39' && SS.InfoBox!=1 && SS.SubMenu == 4 && SS.ItemNum-1 >= SM3total && SS.ItemNum < SM4total){
SS.SubMenu4ItemPos=parseInt(SS.SubMenu4ItemPos)-MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)+1;UpdateMenu();} // Sub Menu 4 **RIGHT BUTTON**

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

else if (e.keyCode=='40' && SS.InfoBox!=1 && SS.ItemNum == SM5n) {
SS.SubMenu = 5;SS.MainMenu = 0;SS.ItemNum = SS.LastSubMenu5ItemNum;FocusSubMenu5();UpdateSubMenu();}      // Sub Menu 5 **DOWN BUTTON**

else if (e.keyCode=='37' && SS.InfoBox!=1 && SS.SubMenu == 5 && SS.ItemNum-1 > SM4total && SS.ItemNum <= SM5total){
SS.SubMenu5ItemPos=parseInt(SS.SubMenu5ItemPos)+MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)-1;UpdateMenu();} // Sub Menu 5 **LEFT BUTTON**

else if (e.keyCode=='39' && SS.InfoBox!=1 && SS.SubMenu == 5 && SS.ItemNum-1 >= SM4total && SS.ItemNum < SM5total){
SS.SubMenu5ItemPos=parseInt(SS.SubMenu5ItemPos)-MoveMenu;SS.ItemNum=parseInt(SS.ItemNum)+1;UpdateMenu();} // Sub Menu 5 **RIGHT BUTTON**
}
</script>
<script src="exp_common.js"></script>
<script src="exp_jailbreak.js"></script>
<script>
if (window.applicationCache.status!='0'){window.cacheInfo.innerHTML="由缓存运行";}
else {Loader.innerHTML='<object type="text/html" data="installCache.html" style="width:265px; height:56px;"></object>';
}

function InstallCache(){
Loader.innerHTML='<object type="text/html" data="installCache.html" style="width:265px; height:56px;"></object>';
}
</script>
</body>
</html>